<!DOCTYPE HTML>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@include file="pages/taglib.jsp" %>
<html>
  <head>
    <base href="<%=basePath%>">
    <title>RequireManagerment</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<%@include file="pages/link-script.jsp"%>
  </head>
   <body>
   <% String info = (String)session.getAttribute("info");
   	  String username = (String)session.getAttribute("username");
   	  if(info.equals("success") && (username != null)){
   	%>
   		<s:action name="selectProjectStatusNumber" namespace="/"></s:action>
	   	<s:action name="selectDealResultNumber" namespace="/"></s:action>
		<%@include file="pages/header.jsp" %>
	    <h3 class="sub-header">欢迎来到需求开发管理平台</h3>
	    </div>
	  	<div class="row">
		  	<div  class="col-sm-6 col-sm-offset-3 col-md-4 col-md-offset-2 main">
		  		<%@include file="dealResultNumber.jsp" %>
	    	</div>
	    	<div  class="col-sm-6 col-sm-offset-3 col-md-4 col-md-offset-0 main">
	    		<%@include file="projectStatusNumber.jsp" %>
	    	</div>
	    </div>
    	<%@include file="pages/footer.jsp" %>
   	<%
   	}else{
   	%>
  	<script>
	  	alert("用户名或密码错误");
	  	window.location.href = "login.jsp";
 	</script>
   	<%
   	}
    %>
   	
  </body>
</html>
